﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QuanLyBaoHiem.Libs;

namespace QuanLyBaoHiem.App_Code.Logic
{
    class LoaiHopDongLogic
    {
        DataService ds = new DataService();

        /// <summary>
        /// Lấy danh sách từ bảng LoaiBaoHiem
        /// </summary>
        /// <returns></returns>
        public DataTable LayDanhSachLoaiHopDong()
        {
            return ds.DocHetBang("tblLOAIHOPDONG");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public DataTable LayCauTrucLoaiHopDong()
        {
            return ds.DocCauTrucBang("tblLOAIHOPDONG", "MaLoaiHD");
        }
    }
}
